home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
patch
/
traindrv.lha
/
TrainDriver.pat
< prev
next >
Wrap
Text File
|
1995-08-15
|
2KB
|
52 lines
; Patch file for TrainDriver to allow using it on non-AGA machines.
; (c) 1995 Martin Mares, <mj@k332.feld.cvut.cz>
; -----------------------------------------------------------------
; Require original TrainDriver executable
SD1B5A5D8 ; Checksum
L43DB4 ; Length
; Shorten the "Cycle speed MUST be >=-1 AND <=1" message to make some space
; for our code.
@2E3BB >21 00 00
; Move pen array to the rest of the message...
@2E3BE >0002 0001 0001 0002 0001 0003 0001 0000 0002 0001 0002 0001 FFFF
; Patch view mode to LORES NOLACE with no monitor id:
@2CDF0 >7200 4E71
; Use OpenScreenTagList instead of extended OpenScreen:
@2CE40 >3340 000E 2049 2268 0020 4EAE FD9C
; Correct ScreenTagList to point to correct (new) version of the pen array and
; add some new tags to allow autoscrolling of the screen. (The space for new tags
; is taken from the old pen array which is placed directly after the taglist.)
@2CC4C >0002E39E 80000034 00000001 80000039 FFFFFFFF 00000000
; Relocate some references to old pen array in the code to new pen array:
@2CCDC >16E2
@2CC8C >0002E3A2
@2CC96 >0002E3A6
@2CCA0 >0002E3AA
@2CCAA >0002E3AE
@2CCB4 >0002E3B2
; Also patch the window opening code to add ACTIVATE flag to all windows being
; opened. This avoids the need of manually clicking into the window when trying
; to autoscroll. Unfortunately, this doesn't work for the intro screen, because
; it has no windows on it. To gain enough place for the patch code, the "Command
; only available in AMIGA mode" message (never displayed) is destroyed.
@31706 >0002B6F8
@2B718 >08EC 000C 0010 6000 08A6
; Done...